package com.xsdl.combination.expression;

public class Main {

    public static void main(String[] args) {
        ExpressionParse expressionParse = new ExpressionParse("1+3*(4-2)*(2+3*6)-30");
        Expression expression = expressionParse.parse();
        System.out.println(expressionParse.toSuffix());
        System.out.println(expression.getValue());
        System.out.println(1 + 3 * (4 - 2) * (2 + 3 * 6) - 30);
    }

}
